package com.example.demo4.mapper;

import com.example.demo4.entity.Book;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper {
    Book getBookInfo(int id);
    int save(Book book);
    int update(Book book);
    int deleteById(int id);
    List<Book> selectAll();
}
